package entity;
public class Param {
    //参数对应的别名
    private String para_alias="";
    public String getPara_alias() {
        return para_alias;
    }
    public void setPara_alias(String para_alias) {
        this.para_alias = para_alias;
    }
    /**
     * 参数名, 一般为列名
     */
    private String para_name="";
    /**
     * 参数值
     */
    private String para_value="";
    /**
     * 参数的类 类型, 如int ,String ,long
     */
    private String para_type="String";
    /**
     * 逻辑条件,如=, >,< >=,<=, !=, in
     */
    private String cond_logic="=";

    public Param() {

    }
    /**
     * 一般就采用这种方式生成参数
     * @param para_name
     * @param para_value
     */
    public Param(String para_name, String para_value) {
        super();
        this.para_name = para_name;
        this.para_value = para_value;
    }
    /**
     * 一般就采用这种方式生成参数
     * @param para_name
     * @param para_value
     * @param para_alis
     */
    public Param(String para_name, String para_value, String para_alis) {
        super();
        this.para_name = para_name;
        this.para_value = para_value;
        this.para_alias = para_alis ;
    }
    /**
     *
     * @param para_name   参数名
     * @param para_value  参数值
     * @param para_type   参数的类 类型, 如int ,String ,long, expr
     * @param cond_logic  逻辑条件,如=, >,< >=,<=, !=, in , like
     */
    public Param(String para_name, String para_value, String para_type, String cond_logic) {
        super();
        this.para_name = para_name;
        this.para_value = para_value;
        this.para_type = para_type;
        this.cond_logic = cond_logic;
    }
    /**
     *
     * @param para_name   参数名
     * @param para_value  参数值
     * @param para_type   参数的类 类型, 如int ,String ,long, expr
     * @param cond_logic  逻辑条件,如=, >,< >=,<=, !=, in , like
     * @param para_alias   别名
     */
    public Param(String para_name, String para_value, String para_type, String cond_logic,String para_alias) {
        super();
        this.para_name = para_name;
        this.para_value = para_value;
        this.para_type = para_type;
        this.cond_logic = cond_logic;
        this.para_alias = para_alias ;
    }
    public String getCond_logic() {
        return cond_logic;
    }
    public void setCond_logic(String cond_logic) {
        this.cond_logic = cond_logic;
    }
    public String getPara_name() {
        return para_name;
    }
    public void setPara_name(String para_name) {
        this.para_name = para_name;
    }
    public String getPara_type() {
        return para_type;
    }
    public void setPara_type(String para_type) {
        this.para_type = para_type;
    }
    public String getPara_value() {
        return para_value;
    }
    public void setPara_value(String para_value) {
        this.para_value = para_value;
    }


}

